package cn.edu.xmist.supermarketsys.controller;


import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/index")
public class IndexController {
    private static final Logger LOGGER = Logger.getLogger(IndexController.class);

    @RequestMapping
    public String index() {
        return "index";
    }

    @RequestMapping("/product")
    public String ware() {
        return "product";
    }

    @RequestMapping("/house")
    public String house() {
        return "house";
    }

    @RequestMapping("/supplier")
    public String supplier() {
        return "supplier";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

}
